/*登陆页面专属样式*/

.login-box {
    width: 65%;
    height: 72%;
    min-height: 520px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .8);
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*照片*/
.login-pic {
    width: 65%;
    background-image: url(../pic/背景动画5.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/*登录内容*/
.login-dialog {
    width: 35%;
    height: 100%;
    background-color: #fff;
    box-sizing: border-box;
    padding: 0 20px;
}

.login-dialog>h1 {
    text-align: center;
    padding-top: 28%;
    margin-top: 0;
}

.inputItem {
    height: 60px;
    padding: 0;
    padding-left: 5px;
    border: none;
    background: none;
    outline: none;
    border-bottom: 3px solid rgb(78, 168, 241);
    width: 100%;
    font-size: 20px;
    font-family: "幼圆";
    margin-top: 30px;
}

.register {
    margin-top: 25px;
    color: skyblue;
    text-align: right;
    display: block;
}

 .btn {
     background-image: linear-gradient(to right, #03a9f4, #ed8cc3, #e6dd8f, #09a8f4);
     background-size: 400%;
     color: rgb(255, 255, 255);
     border: none;
     border-radius: 30px;
     height: 46px;
     width: 80%;
     font-size: 18px;
     display: block;
     margin: auto;
     margin-top: 30px;
     cursor: pointer;
 }

 .btn:hover {
     animation: sun 8s infinite;
 }

 @keyframes sun {
     100% {
         background-position: -400% 0;
     }
 }

/*气泡*/
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubble{
            position: absolute;
            border-radius: 50%;
            border: 2px solid #fff;
            box-shadow: inset 0 0 8px  #fff;
            animation: flutter 10s infinite;
            opacity: 0;
        }
        @keyframes flutter {
            0%{
                transform: translateX(0);
                bottom: -100px;
                opacity: 1;
            }
            50%{
                transform: translateX(100px);
                opacity: 0.5;
            }

            
            100%{
                transform: translateX(0px);
                bottom: 100%;
                opacity: 0;

            }
        }
        .bubble:nth-child(1){
            left: -10%;
            width: 50px;
            height: 50px; 
            animation-duration: 9s;
            animation-delay: 0.1s;
        }
        .bubble:nth-child(2){
            left: 15%;
            width: 20px;
            height: 20px;
            animation-duration: 6s;
            animation-delay: 1.5s;

        }
        .bubble:nth-child(3){
            left: 20%;
            width: 60px;
            height: 60px;
            animation-duration: 10s;
            


        }
        .bubble:nth-child(4){
            left: 30%;
            width: 30px;
            height: 30px;
            animation-duration: 5.5s;
            animation-delay: 1.5s;

        }
        .bubble:nth-child(5){
            left: 40%;
            width: 50px;
            height: 50px;
            animation-duration: 12s;
            


        }
        .bubble:nth-child(6){
            left: 50%;
            width: 20px;
            height: 20px;
            animation-duration: 6s;
            animation-delay: 1s;

        }
        .bubble:nth-child(7){
            left: 60%;
            width: 40px;
            height: 40px;
            animation-duration: 8s;
            animation-delay: 1s;

        }
        .bubble:nth-child(8){
            left: 65%;
            width: 60px;
            height: 60px;
            animation-duration: 15s;
          
        }
        .bubble:nth-child(9){
            left: 80%;
            width: 55px;
            height: 55px;
            animation-duration: 9s;
            animation-delay: 0.5s;
            
        }
        .bubble:nth-child(10){
            left: 100%;
            width: 40px;
            height: 40px;
            animation-duration: 12s;

        }